#include "ZeroEnvironment.h"

#include <cstdlib>

ZeroEnvironment::ZeroEnvironment()
{
}

ZeroEnvironment::~ZeroEnvironment()
{
}

bool ZeroEnvironment::isValid(ZeroEntity *entity)
{
	return (rand() % 100) < 10;
}

void ZeroEnvironment::evaluate(ZeroEntity *entity)
{
	entity->setScore(rand() % 100);
}

void ZeroEnvironment::selection(ZeroPopulation *zpop)
{
}
